package com.javaee.entity;

public class Department {
    private Integer id;//id标识
    private String kNo;//科室号
    private String dName;//科室名
    private String detail;//科室详情
    private String type;//科室类别

    public Department() {
    }

    public Department(Integer id, String kNo, String dName, String detail, String type) {
        this.id = id;
        this.kNo = kNo;
        this.dName = dName;
        this.detail = detail;
        this.type = type;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getkNo() {
        return kNo;
    }

    public void setkNo(String kNo) {
        this.kNo = kNo;
    }

    public String getdName() {
        return dName;
    }

    public void setdName(String dName) {
        this.dName = dName;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "Department{" +
                "id=" + id +
                ", kNo='" + kNo + '\'' +
                ", dName='" + dName + '\'' +
                ", detail='" + detail + '\'' +
                ", type='" + type + '\'' +
                '}';
    }
}